<%@page import="java.util.Calendar"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body style="background-color: grey">
<%
String DATE_FORMAT = "yyyy-MM-dd";
SimpleDateFormat sdf = new SimpleDateFormat(DATE_FORMAT);
Calendar c1 = Calendar.getInstance();
String date2 = sdf.format(c1.getTime());
%>
<form action="Renewal" method="post">
	<fieldset>
	
		<legend align="top">
			<h2 style="color: red">Book Renewal</h2>
		</legend>
		<center>
			<table>
				<tr>
					<td>Enter Book Id</td>
					<td><input type="text" name="bookid" value=""></td>
					<td><input type="hidden" name="date" value="<%= date2 %>"></td>
				</tr>
				
				<tr>
					<td><input type="submit" value="Renewal"></td>
				</tr>

			</table>

		</center>
	</fieldset>
	</form>
</body>
</html>